package com.demo.springSecurityJwt.service;

import com.demo.springSecurityJwt.model.BlueDashBoard;

/**
 * @author Hanson
 * @date 2022/9/13 14:56
 */
public interface RedisService {
    /**
     * 新增key
     * @param key
     * @param value
     */
    void addKey(String key, String value);

    /**
     * 通过key获取对应的value
     * @param key
     * @return
     */
    String getValueByKey(String key);

    public BlueDashBoard getDashBoard();
}

